package com.bilisummarize.repository;

import com.bilisummarize.entity.BiliChatRecord;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BiliChatRecordRepository extends CrudRepository<BiliChatRecord,Integer> {
    List<BiliChatRecord> findAllByAidAndCidAndUserIdOrderByCreateTime(Integer aid, Integer cid, String userId);
}
